
import 'package:fate_blind_box/utils/loading.dart';
import 'package:flutter/material.dart';

import '../theme/theme_color.dart';

class ThemeSnackBar {

  static void show(BuildContext context, String? s) {
    if (s == null || s.trim().isEmpty) return;
   // toast(s);
    ScaffoldMessenger.of(context).showSnackBar(
        SnackBar(
          content: Center(child: Text(s),),
          backgroundColor: ThemeColor.appColor,
        )
    );
  }

}
